package com.sam4cloud.oauth2.project.cons;

/**
 * @Author: Sam
 * @Date: 2022-11-25 16:25
 * @Description: 授权码登录常量
 */
public interface AuthCodeCons {

    /**
     * 登录验证码
     */
    String CODE_KEY = "oauth:loginCode:code_";

    /**
     * 登录是否被锁定
     */
    String LOGIN_USER_LOCKED = "oauth:loginCode:user_locked_";

    /**
     * 锁定时长(分钟)
     */
    int CODE_EXPIRE = 5;


}
